/*----------------------------------------------------------------------------------
Title : UIWindow自动生成脚本
Author: 呼呼
Description：UIWindow自动生成脚本，自动生成生命周期，对接Comp事件方法实现，自动生成子窗口
DataTime:2024/10/24 22:46:59
Warn: 此脚本由程序自动生成，请确保修改下面代码后不要重写生成脚本，否者将会覆盖原有内容!
----------------------------------------------------------------------------------*/
using UnityEngine;
public class AlphaMaskWindow :WindowBase
{
	public AlphaMaskWindowComp windowComp = new AlphaMaskWindowComp();
	#region 生命周期
	public override void OnAwake()
	{
		 base.OnAwake();
		 windowComp.InitComp(this);
	}
	public override void OnShow()
	{
		 base.OnShow();
	}
	public override void OnHide()
	{
		 base.OnHide();
	}
	public override void OnDestroy()
	{
		 base.OnDestroy();
	}
	#endregion
	#region 组件事件
	#endregion

	public void ResetSetScreenAlphaMask(Vector3 color,float alphaValue)
	{
		ToolFunction.SetRawImageColorFromVector3(windowComp.BgRawImage, color, alphaValue);
	}
}
